package com.yqg.education.mapper;

import com.yqg.education.entity.TeachPlanSign;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2025-05-12
 */
@Mapper
public interface TeachPlanSignMapper extends BaseMapper<TeachPlanSign> {

    void stuUpdateTeachPlanSignFlow(@Param("teachPlanId") Integer teachPlanId, @Param("stuId") Integer stuId);

    List<TeachPlanSign> findPage(Integer pageNum, Integer pageSize, String username, String courseName, String teachPlanName, Integer flow, Integer stuId);

    Long findCount(String username, String courseName, String teachPlanName, Integer flow, Integer stuId);
}
